package com.yty.service;

import com.yty.page.PageResult;
import com.yty.param.StudentQueryParam;
import com.yty.pojo.Student;

import java.util.List;

public interface StudentService {
    PageResult findStudent(StudentQueryParam param);

    Integer addStudent(Student student);

    Integer deleteStudentById(Integer... ids);

    Student findStudentById(Integer id);

    Integer updateStudent(Student student);

    Integer updateStudentViolation(Integer id, Integer score);
}
